package com.java.androidmarket.entity;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * description:
 * author:张腾
 * date:2021-04-24
 */

@Data
@Accessors(chain = true)
public class Comment implements Serializable {
    private int commentId;
    private int userId;
    private int goodsId;
    private String text;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String commentTime;

    private User user;
}
